#install docker on linux
Explore tagged Tumblr posts
Link
#Automation#configure#containerization#Docker#Install#Linux#mediaserver#Monitoring#movies#NZB#open-source#Plex#PVR#Radarr#self-hosted#Setup#Sonarr#Streaming#systemadministration#torrent#Usenet
0 notes
Text
replacing her with a shiny new VM (now with twice the disk space!) RIP you will be missed o7
My Ubuntu vm.... speak to me I have more hard drive space for you you just have to boot so I can repartition please...
#There was like. One file that actually mattered on the old machine and I have a copy of that already#Gonna have to install docker again but that's whatever. It's not too bad on Linux#unlike some other operating systems. Looking at YOU Windows 10#It's just going to take. Time. But by God I'm finishing this lab today
15 notes
·
View notes
Text
Step 0. Get fed up with Windows 10/11 and all the forced-fed stuff, like ads and LLM, in the Start menu.
Step 1. Install Ubuntu Linux
Step 2. Learn Docker & cool stuff and wonder why I used an abomination called WSL. This is the real deal.
Step 3. Get into VIM. Watch some cool videos, and ditch the last spyware called VSCode.
Step 4: Learn about NixOS and switch to use because all cool kids like it. This is the end of the distro hopping.
Step 5: Minding my business and YouTube recommends FreeBSD. Oh noo. Here we go again…😅
#nixos#freebsd#linux#shitpost#gnu#sysadmin#devops#programming#programmers humor#windows 10#windows 11
86 notes
·
View notes
Text
i take pride in being one of the linux users who are least invested in customizing my os. Pop! on my laptop, install & done. Same for the servers; install debian, sudo & docker and we're good. Got enough other shit to worry about
9 notes
·
View notes
Text
How to host local Club Penguin Private Server (CPPS) on Silicon Mac (M1/M2/M3) thru play.localserver & Solero's Wand install.
I spent so long looking for a solution to this that I want to contribute what worked for me. I got so frustrated looking for something that worked, and I hope this guide will help others avoid that frustration.
This is NOT a guide on hosting or serving a CPPS. This is a guide on making a CPPS playable by locally hosting your server on your Silicon M1/M2/M3 Macbook. This worked on my M3 Macbook, and, in my experience, it seems the newer the hardware/operating system gets, the harder it is accomplish this.
DISCLAIMER *I do not know very much about this topic. I can paste commands into terminal and execute them, I know how to install DMG files I downloaded from the internet (the bar is in hell, I am aware), and I know how to enter play.localhost to run this in a browser. I am no expert; this guide is for beginners like myself who want a CPPS. This is beginner-level stuff. If you want advice or need help hosting, refer to the Wand Github page, Solero's Dash (an actual web-hosting solution for Houdini/Wand), Solero's discord, or, when in doubt, Google it. (I recommend only asking for help in Solero's discord for help AFTER trying your best to search for a solution, and even after that, trying to search key terms in their chat logs. They often have to repeat the same advice over, and over, and over again.)*
TLDR; IDK shit about shit
USING WAND INSTALLER
wand description from github: Wand makes it easy to configure dash, houdini and a media server utilizing docker & docker-compose.
All the assets are located here.
Installation instructions from the above link:
Installation script 1. run the script: bash <(curl -s https://raw.githubusercontent.com/solero/wand/master/install.sh) 2. Answer Questions which are: Database password (Leave blank for random password) Hostname (example: clubpenguin.com) (Leave empty for localhost) External IP Address (Leave empty for localhost) 3. Run and enjoy. Run this command: $ cd wand && sudo docker-compose up
The steps I took:
1. Install Docker via Terminal & Homebrew.
Installing the Docker DMG file did not work properly when I tried. I realized later that Docker is seperate from Docker Desktop (the DMG file). I got Docker to work by using Terminal to install Homebrew, and then using Homebrew to install Docker.
Indented text = paste into Terminal.
Command to install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Ensure Homebrew is installed:
brew --version
Install Docker:
brew install docker
Recommended: Install Docker Desktop (useful in determining if your server is running, stopped, or stuck in a restart loop).
brew install --cask docker
Run Docker Desktop:
open -a Docker
2. Run installation script:
bash <(curl -s https://raw.githubusercontent.com/solero/wand/master/install.sh)
From Github instructions:
Answer Questions which are:
Database password (Leave blank for random password)
Hostname (example: clubpenguin.com) (Leave empty for localhost)
External IP Address (Leave empty for localhost)
3. $ cd wand && sudo docker-compose up
This is what is provided in the Github. This command didn't work on Mac; I believe it's formatted for Linux OS. Here's how I broke it up and enabled it to run from Mac's Terminal.
Navigate to Wand directory:
cd wand
Double-check if you're in the right directory:
ls
Start Docker container:
docker-compose up
If the above doesn't work, try
docker compose up
or
brew install docker-compose
Takes a second...
Ensure Docker is running:
docker info
If it isn't, open the Docker Desktop application.
*After using compose up, this error may appear:*
WARN[0000] /Users/[user]/wand/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
This is harmless. If you get annoyed by errors, this can be solved by:
nano docker-compose.yml
See Version 3.7 at the top? Delete that line.
Ctrl-X (NOT COMMAND-X) to exit, Y to save, Enter.
PLAY.LOCALHOST
Type http://PLAY.LOCALHOST into a browser.
Create a penguin.
Try logging in that penguin:
This step was agony. I'm not savvy with running obsolete or deprecated software, and, of course, Club Penguin (and Houdini/Wand's assest) uses Flash, which was discontinued, and timebombed by Adobe, in 2021.
I tried Ruffle. Club Penguin Journey uses Ruffle, so why can't I?
Running Ruffle in Firefox:
No luck.
In the Solero discord, they'll direct to this blog post:
This method does not work on Mac M1/M2/M3. The program is "out of date" and you cannot run it. It works on Macbook's running Sonoma and backward. I'm on an M3 running Sequoia.
they'll often post this video in the discord:
In theory, this method should work, and it does for many, but for whatever reason, not on my M3. I tried different versions of Ungoogled, I tried so many different patches of Pepperflash, and it never cooperated. I tried Pepperflash, I tried Fast Patch!, I tried dedicated Flash browsers, running Flash plugins for Pale Moon, Ungoogled, Waterfox, but I could never get past him.
Every time I see this stupid penguin's face I'm filled with rage. But I am going to save you that rage!!!
If you get this method to work, yay! I could not. Maybe I don't know enough about patching, maybe I'm a little tech stupid.
WHAT WORKED: Using a dedicated CPPS desktop application that allows you to plug in a URL.
I give you...
He is your solution, your answer to
I discovered this solution through Solero's Discord, when someone answered a question re: playing online.
Waddle Forever was not what I was looking forever, but I noticed in their credits:
The electron client is originally forked from the Club Penguin Avalanche client. The server is based in solero's works in reverse engineering the Club Penguin server (Houdini server emulator). The media server is also mostly from solero's media servers.
And that's how I found out the solution: Using CPA Client
Download the CPAvalanche Client
It runs Adode Flash x64. Easy peasy.
(the instructions are in Portuguese, but for English users:
Navigate to releases.
And download this one:
Once downloaded, open.
Drag into applications.
Run http://play.localhost through the client:
Open CPAvalanche Client. It will direct you to CPAvalance once loaded, but you're here because you want to play play.localhost.
Navigate to CPAvalanche Client next to your Apple. Click Mudar a URL do Club Penguin.
Press Sim.
URL: http://play.localhost
Ok.
Press Login once the page loads, and...
That's it! No more penguin! Have fun :)
CREDITS:
Solero Discord / Waddle Forever / Wand / CPA Client / Solero.Me
#solero/wand#wand#solero#cpps#club penguin private server#cpps localhost#club penguin#macbook#macbook silicon#mac m1#mac m2#mac m3#apple silicon
2 notes
·
View notes
Note
docker compose build npm slow linux
docker compose build npm slow linux
Sea salt cardboard teriyaki automobile
(try this)
7 notes
·
View notes
Text
Progress so far of mobile server (dev log)
So I was successful in turning my old phone into apache web server. The phone had some hardware issue that it always clicked on the screen randomly so I had to maneuverer my way installing Linux and apache into the phone. I had to set up proxies as well to connect to it with the open internet. So far it is working well. Sometimes I have to reroute the connections since it is running over mobile data? I am thinking of getting a dynamic DNS. But I have never tried dynamic DNS before so I am not ready to explore that yet. Plus, I don't know if I would get a static IP from it or a straight away domain name? I mean both are okay, but both have pros and cons of the usage.
Like if I get a static IP , I can run virtual hosts in apache and run multiple websites pointing A record of the domain to the same website.
And lets say if I get a subdomain from the dynamic DNS, I can point CNAME record of the domain to subdomain? But will virtual hosts work with it? I don't know. I suppose it should but it could not work also. Hmm.. lets see, I think I have done this before, apache virtual hosts works with CNAME.
But there is another issue that one of the website runs behind a SOCKS5 proxy, How will I accommodate that? The issue is that, since its Ubuntu running over VM over lineage OS in phone, I can't get low number ports such 80 or 443 so I have to somehow use Dynamic DNS and SOCKS5 proxy to redirect traffic at higher port number.
I mean, I still have oracle VPS running so I may not need virtual hosts in mobile server. So maybe I will venture this when I need it.
I am just wondering whether I should run Docker to run my game server then redirect the traffic with apache virtual hosts, reverse proxy with SOCKS5 proxy? I don't even know if it work. Theoretically it should work.
14 notes
·
View notes
Text
[Re]starting my self-hosting journey, and why
Day 80 - Jan 24th, 12.024
Yesterday I "woke" up my old computer as a server [again], now the fun part starts. But, why am I self-hosting?
Why self-host?
The short answer: for me, it's fun.
The long answer: to start, if you don't know what self-hosting means, here's a small explanation from our good old Wikipedia:
Self-hosting is the practice of running and maintaining a website or service using a private web server, instead of using a service outside of someone's own control. Self-hosting allows users to have more control over their data, privacy, and computing infrastructure, as well as potentially saving costs and improving skills. Source: Self-hosting (web services) - from Wikipedia, the free encyclopedia
In summary, it's like if you used your computer to run something like YouTube, instead of connecting to the internet to use it. Self-hosting can be really advantageous if you care a lot about privacy, control of your data and how it's used, not only that, but if you're a developer, you know have a lot more power in customizing, tweaking and automating services and tools that you use. And because the data and code is on your own machine, you aren't locked-in into a cloud provider, website, yadda yadda. There are people who can explain this better than me, and nowadays self-hosting isn't that hard if you know a thing or two about computers.
Personally, I plan to use self-hosting for three reasons:
Privacy and data control, of course;
Network control, aka. Ad blockers in the hole home's network with something like Adguard Home and a private intranet with Tailscale;
And, the most useful, automation. I already talked about here and there, but I hope that I can automate my social medias, daily journal publications, and things like that using my home server, specifically with something like Gitea actions (or in my case, Forgejo actions).
Maybe something like federalization also, I don't know yet how hard it would be to self-host my own Mastodon or [insert another ActivityPub-compatible instance here] on my computer.
Something which I also plan to do is to run my own Invidious and other frontend-alternatives for myself, I already use public instances and pretty much de-googled my online life nowadays, so why not try self-hosting also? Maybe even open these instances to my friends? So they can also have more private alternatives? Or maybe I'm dreaming too much? Probably.
How to self-host?
If you're somehow interested about self-hosting after this amalgamation of an explanation, and do not know where to start, I would recommend taking a look at CasaOS or YunoHost, these give you an easy-to-use User Interface (UI) to manage your server and services. I tried both, CasaOS being what introduced me to self-hosting, alongside this video on how to install it on Linux and use it.
Nonetheless, this is my third try on self-hosting, because the two previous options didn't serve my current needs and also because I'm liking the idea of using NixOS, which is how I'm configuring my home-server now. And it is being kinda great to share common configuration and code between my desktop and home-server, without counting also the incomparable control of using it instead of the docker-based solutions I mentioned (but again, I wouldn't recommend using Nix in your first try of self-hosting, even less if you don't have any experience with it or programming in general).
I already have a Forgejo instance running now, and I hope that tomorrow I'm able to configure Adguard Home on it, since these are pretty much the two main reasons and purposes of this server. Also, Tailscale is also configured, pretty much just services.tailscale.enable = true, that's it.
I have to admit, I'm kinda loving NixOS more and more, and it's also making me love even more Linux in general. It's always great to learn and try something new. Hopefully in some days I will make a more detailed post about the hole system that I'm creating to myself, it's kinda scary and interesting the scale that this "productivity system" is taking.
---
Today's artists & creative things
Playlist: Braincell.exe has failed to load - A stimming playlist - by Aliven't
---
Copyright (c) 2024-present Gustavo "Guz" L. de Mello <[email protected]>
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License
5 notes
·
View notes
Link
#Automation#backup#cloudstorage#collaboration#dataprivacy#database#Docker#filesharing#HTTPS#Install#Linux#networking#Nextcloud#Nextcloudsetup#open-source#reverseproxy#Security#self-hosted#Server#systemadministration
0 notes
Text
hiii @adair-the-bard @hdmiports and @kieraplaysthesims tagged me in this! tysm
favorite color: orange and pink and recently green
currently watching: hour long youtube video about hello neighbor 2
last movie: campbell's kingdom (1957). best movie ever, highly recommend if you love british people doing bad canadian accents, mostly unintelligible by-the-numbers plotline, and oil drilling (as in you are pro-oil and hate nature)
currently reading: nothing really, occasionally skimming May We Be Spared To Meet On Earth (the correspondence of the men who were on Franklin's Expedition), The Wife of Bath: A Biography by Marion Turner, and The First Kennedys by Neal Thompson because I'm never not reading a book about the Kennedys. im probably never gonna finish any of these this year, and will instead read a few more ~300 pg mass market paperback thrillers and/or like some smutty romance novels
sweet/spicy/savory: savory, which i only recently learned is different from spicy. savory>sweet>spicy, its not that i cant handle spice i just dont rlly enjoy the taste
last thing i googled: : "mission impossible dead reckoning part i torrent" (rip rarbg u will be forever missed)
current obsession: skyrim modding, i cut down my core plugins to like 600 from 950 which is honestly a feat.
currently working on: downloading skyrim mods, fixing my linux install so i can update my docker containers so i can use my servers again, filling out my timesheet
tagging: @fujoshi-simone-weil @thebramblewood @kruxton @ethicaltreatmentofcowplants and anyone else who wants to do it!
5 notes
·
View notes
Text
lnav: Awesome terminal log file viewer for Linux and Unix
lnav is a terminal-based log file viewer (TUI) for Linux, FreeBSD, macOS, and other Unix-like systems. It combines the functionality of tools like tail, grep, awk, sed, and cat into a single interface. It also allows you to run SQL queries against your log files to build reports and offers basic support for Linux containers like Docker
19 notes
·
View notes
Text
i need this to be the summer i actually set up using grocy and make the executive functions involved in grocery lists and finding out what to cook soooo much easier
but its still just slightly too over my head for me to figure out. id probably be fine if i had a windows laptop and bought a usb scanner and just did everything on my laptop since it has the windows desktop application
but my laptop has very limited space remaining and its a mac so i dont want to dual boot it. i guess i could look into a virtual machine just for using grocy??
but also regardless it might be nicer (and helpful for other stuff too) to self-host grocy
then i could scan from my phone and have it go to both my laptop (mac mojave) and my desktop (windows 10 but also planning on dual booting with some sort of linux soon)
but im just not sure at all how to self host it/best practices even if i did figure that out. i cant even figure out docker which so many people say makes it easier
i also have a shitty old screenless mac laptop i can connect with hdmi to a screen if needed and install w/e operating system on that maybe i could use to host stuff?? no idea if thatd be convenient or needed tho??
tech mutuals help :(
#cpost#my dad was a software technician and self hosted stuff at home#i always really feel his loss when realizing how clueless i am at setting up the same
4 notes
·
View notes
Text
ARMxy SBC Embedded Controller BL340 in sewage Treatment System Monitoring
Case Details
Introduction
Real-time monitoring of wastewater treatment systems is critical for ensuring water quality compliance, optimizing process flows, and reducing operational costs. The ARMxy BL340 series embedded controller, powered by the Allwinner T507-H quad-core ARM Cortex-A53 processor, offers high performance, low power consumption, and flexible I/O configurations, making it ideal for industrial Internet of Things (IoT) applications in wastewater treatment monitoring. This article explores the design and application of the BL340 in wastewater treatment systems, analyzing its technical advantages and practical outcomes.
System Design
Hardware Architecture
The BL340 series adopts a modular design, with core hardware components including:
Processor: Allwinner T507-H, quad-core Cortex-A53, up to 1.4 GHz, paired with 8/16 GB eMMC storage and 1/2 GB DDR4 memory, meeting data processing and storage requirements.
Sensor Interfaces: Supports various sensors via Y-series I/O boards, such as pH (Y33/Y34, 0-5/10V analog input), dissolved oxygen (Y31, 4-20mA input), turbidity (Y36, ±5V/±10V differential input), and temperature (Y51/Y52, PT100/PT1000 RTD).
Communication Modules: Includes 3×10/100M Ethernet ports, 2×USB 2.0, Mini PCIe (4G/WiFi/Bluetooth), and a NANO SIM slot for remote data transmission.
Power and Installation: Supports 9-36 VDC wide voltage input with reverse polarity and overcurrent protection, designed for DIN35 rail mounting, suitable for harsh wastewater treatment environments.
Environmental Adaptability: Certified with IP30 protection and -40~85°C wide temperature testing, ensuring reliability in humid, high-temperature, or vibrating conditions.
Software Architecture
The BL340 supports multiple operating systems and development tools, with a software architecture comprising:
Operating Systems: Linux-4.9.170, Ubuntu 20.04, or Android 10, with Docker container support for rapid deployment.
Protocol Conversion: Pre-installed BLloTLink software supports protocols like Modbus, MQTT, and OPC UA, compatible with cloud platforms such as AWS IoT Core and ThingsBoard.
Data Processing: Utilizes Node-Red and Qt-5.12.5 for data acquisition, processing, and visualization, supporting real-time water quality parameter analysis.
Remote Access: BLRAT tool enables remote maintenance and configuration, enhancing operational efficiency.
Functionality and Applications
Real-Time Water Quality Monitoring
The BL340 collects critical wastewater treatment parameters (e.g., pH, dissolved oxygen, turbidity, temperature, and conductivity) via Y-series I/O boards. For instance, the Y31 module connects to 4-20mA dissolved oxygen sensors, and the Y51 module supports PT100 temperature sensors. Data is sampled via ADC, processed by the BL340, and used to generate real-time water quality reports.
Remote Monitoring and Alarming
The BL340 uploads data to cloud platforms via 4G or WiFi modules, enabling remote monitoring through web interfaces or mobile applications. When water quality parameters exceed thresholds (e.g., pH <6 or >9), the system sends alerts via MQTT and can control valves or pumps using the Y24 relay module to automatically adjust processes.
Data Storage and Analysis
The BL340 supports local SD card storage and cloud backups, archiving historical water quality data. Node-Red facilitates trend analysis, such as correlating dissolved oxygen levels with aeration energy consumption, to optimize wastewater treatment processes.
Typical Application Case
In a municipal wastewater treatment plant, the BL340B (equipped with 3×Ethernet ports and 2×Y-board slots) was deployed to monitor a biological reaction tank. The system configuration included:
Hardware: BL340B-SOM341-X23-Y31-Y51, featuring 4×RS485, 4×DI/DO, 4×4-20mA inputs (dissolved oxygen, turbidity), and 2×PT100 (temperature).
Functionality: Real-time water quality data collection, uploaded to the ThingsBoard platform via 4G, with automated aeration pump control.
Results: The system operated stably, reduced manual inspections, improved effluent compliance, and lowered energy consumption by approximately 15%.
Technical Advantages
High Performance and Low Power: The quad-core Cortex-A53 processor with a 1.4 GHz clock speed ensures efficient data processing, while the wide-voltage power design minimizes energy use.
Flexible I/O Configuration: Supports various X/Y-series I/O boards, accommodating diverse sensor and control requirements.
Robust Communication: Multiple Ethernet ports and 4G/WiFi modules support complex network environments, with BLloTLink enabling seamless integration with mainstream cloud platforms.
Industrial-Grade Reliability: Certified through electromagnetic compatibility (EMC) and environmental adaptability tests (-40~85°C, IP30, vibration resistance), suitable for harsh wastewater treatment conditions.
Ease of Development: Node-Red and Qt tools simplify application development, with BLRAT supporting remote debugging, reducing deployment time.
Challenges and Solutions
Sensor Drift: Regular calibration or software compensation algorithms (e.g., Kalman filtering) enhance data accuracy.
Network Stability: 4G redundancy and local caching ensure reliable data transmission.
Data Security: MQTT over TLS and device authentication safeguard data transfers.
Conclusion
The ARMxy BL340 series embedded controller demonstrates significant advantages in wastewater treatment system monitoring due to its high performance, flexibility, and industrial-grade reliability. Its modular design and robust communication capabilities meet diverse monitoring needs, enabling wastewater treatment plants to achieve intelligent and efficient operations. As industrial IoT technologies advance, the BL340 will play an increasingly vital role in water treatment applications.
0 notes
Text
Introduction
Nginx is a high-performance web server that also functions as a reverse proxy, load balancer, and caching server. It is widely used in cloud and edge computing environments due to its lightweight architecture and efficient handling of concurrent connections. By deploying Nginx on ARMxy Edge IoT Gateway, users can optimize data flow, enhance security, and efficiently manage industrial network traffic.
Why Use Nginx on ARMxy?
1. Reverse Proxying – Nginx acts as an intermediary, forwarding client requests to backend services running on ARMxy.
2. Load Balancing – Distributes traffic across multiple devices to prevent overload.
3. Security Hardening – Hides backend services and implements SSL encryption for secure communication.
4. Performance Optimization – Caching frequently accessed data reduces latency.
Setting Up Nginx as a Reverse Proxy on ARMxy
1. Install Nginx
On ARMxy’s Linux-based OS, update the package list and install Nginx:
sudo apt update sudo apt install nginx -y
Start and enable Nginx on boot:
sudo systemctl start nginx sudo systemctl enable nginx
2. Configure Nginx as a Reverse Proxy
Modify the default Nginx configuration to route incoming traffic to an internal service, such as a Node-RED dashboard running on port 1880:
sudo nano /etc/nginx/sites-available/default
Replace the default configuration with the following:
server { listen 80; server_name your_armxy_ip;
location / {
proxy_pass http://localhost:1880/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Save the file and restart Nginx:
sudo systemctl restart nginx
3. Enable SSL for Secure Communication
To secure the reverse proxy with HTTPS, install Certbot and configure SSL:
sudo apt install certbot python3-certbot-nginx -y sudo certbot --nginx -d your_domain
Follow the prompts to automatically configure SSL for your ARMxy gateway.
Use Case: Secure Edge Data Flow
In an industrial IoT setup, ARMxy collects data from field devices via Modbus, MQTT, or OPC UA, processes it locally using Node-RED or Dockerized applications, and sends it to cloud platforms. With Nginx, you can:
· Secure data transmission with HTTPS encryption.
· Optimize API requests by caching responses.
· Balance traffic when multiple ARMxy devices are used in parallel.
Conclusion
Deploying Nginx as a reverse proxy on ARMxy enhances security, optimizes data handling, and ensures efficient communication between edge devices and cloud platforms. This setup is ideal for industrial automation, smart city applications, and IIoT networks requiring low latency, high availability, and secure remote access.
0 notes